home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Games 1996 July
/
Amiga Games 1996 #7.iso
/
userbox
/
publicdomain
/
makepass
/
makepass.doc
< prev
next >
Wrap
Text File
|
1996-04-03
|
3KB
|
77 lines
-------------------------------------------------------------
MakePass
A N Peck
1995
-------------------------------------------------------------
Now that my number one son is adept at turning on Daddy's
computer and inserting all manner of items into the disk
drive, I thought it about time that I looked into the matter
of password protection for my Amiga.
As usual there was a plethora of good PD programs available,
and as usual there wasn't one which exactly fitted the bill.
What I needed were the following features...
* Auto activation on startup (i.e. no mouse required)
* One program (i.e. no separate password file)
* Encrypted password
* Coded entry (i.e. can't see what is being entered)
* No continuous trying allowed (i.e. 3 strikes and you're out)
With all that in mind, the first step was to code the program.
There was a small problem however. Every time I wanted to
change the password, I had to change the code and recompile.
So I started on another program which does all that fiddly
work and then just presents you with the finished product.
The result is MakePass. It employs Chas Wyndam's excellent
program S-Omni to execute a script file which leads the user
through the selection and production of an encrypted password
program imaginatively called PassWord.
As well, the source code is included and one option while
making your personalised PassWord program is to copy this
source code to ram: so that you can make your own
modifications (e.g. encryption, etc.).
Both are provided with icons, however the Password program is
of course only possible to be run from CLI, and I'll leave it
to you to alter the project icon for the file Password.a
(source) to select your favourite text viewer.
S-Omni usually leaves behind a directory called Omni in ram:
which contains all the programs used by the script file. In
this case however, given that the program produced is
encrypted, I have deleted all these files prior to the script
completion, so as to give you some added safety, and so if
you look into this vestigial directory you'll find it empty.
The resultant PassWord program is only 532 bytes and I
recommend you plop it into your "C" directory and then alter
your startup-sequence to make "Password" the first line.
It ain't foolproof, and a good hex-editor/dissassembler will
lead you to the encryption technique, but it does work
against the ravages of a typical 2 year old dynamo.
The program and its source are free, however if they stomp on
your Ami please don't blame me. I'm only the piano player...
Anthony Peck
68 Woralul St
Waramanga ACT 2611
AUSTRALIA
Anthony.Peck@Radford.act.edu.au